<#
include("/include/leftMenuHeader.html",{}){}
include("/include/sign.html",{}){}
include("/include/dcenter/dcTemplate.html",{}){}
#>
<form name='form1' id="form1" method='post'
      action='${base}/private/sys/unit/doAdd'>

    <table width="100%" height="100%" align="center" cellpadding="2" cellspacing="0">
        <tr>
            <td height="10"></td>
            <td></td>
        </tr>
        <tr>
            <td width="360" valign="top">
                <div id="con_one_1">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td width="39%" height="30" align="right">上级机构：</td>
                            <td width="61%">
                                <select name="id" id="id">
                                    <option value="">无</option>
                                    #if($unit)
                                    <option value="$!{unit.id}">
                                        $!{unit.name}
                                    </option>
                                    #end
                                </select>
                                <script type="text/javascript">selected(document.form1.id, "$!{unit.id}")</script>
                            </td>
                        </tr>

                        <tr>
                            <td width="39%" height="30" align="right">机构名称：</td>
                            <td width="61%">
                                <input type="text" name="name" id="name" maxlength="100" verify="机构名称|NotNull">
                            </td>
                        </tr>

                        <tr>
                            <td width="39%" height="30" align="right">
                                机构编码：
                            </td>
                            <td width="61%">
                                <input type="text" name="unitcode" id="unitcode" maxlength="10" >

                            </td>
                        </tr>

                        <tr>
                            <td width="39%" height="30" align="right">联系电话：</td>
                            <td width="61%"><input type="text" name="telephone" id="telephone"
                                                   maxlength="100"></td>
                        </tr>
                        <tr>
                            <td width="39%" height="30" align="right">联系地址：</td>
                            <td width="61%"><input type="text" name="address" size="40" id="address"
                                                   maxlength="255"></td>
                        </tr>
                        <tr>
                            <td width="39%" height="30" align="right">电子邮件：</td>
                            <td width="61%"><input type="text" name="email" id="email"
                                                   size="30" maxlength="100" verify="电子邮件|Email"></td>
                        </tr>
                        <tr>
                            <td width="39%" height="30" align="right">
                                网&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：
                            </td>
                            <td width="61%">
                                <input type="text" name="website" id="website" size="40" maxlength="100">
                            </td>
                        </tr>
                        <tr>
                            <td width="39%" height="30" align="right">机构描述：</td>
                            <td width="61%"><textarea rows="7" cols="40" name="descript"
                                                      id="descript"></textarea>
                            </td>
                        </tr>


                    </table>
                </div>
            </td>
        </tr>
    </table>
</form>
</body>
</html>